package com.tothefor.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@ToString
@Accessors(chain = true)// 使用链式方法
@TableName("s_questionnaireresult")
public class QuestionnaireResult {
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private int id;

    /**
     * 群组名称
     */
    @TableField("questionnaireId")
    private String questionnaireId;

    /**
     * 群组状态
     */
    @TableField("questionId")
    private String questionId;

    @TableField("answer1")
    private int answer1;

    @TableField("answer2")
    private int answer2;

    @TableField("answer3")
    private int answer3;

    @TableField("answer4")
    private int answer4;

    @TableField("answertext")
    private String answertext;

    @TableField("answererName")
    private String answererName;

    public QuestionnaireResult(){

    }
}
